#include <QCoreApplication>
#include <math.h>
#include <iostream>

using namespace std;


int main()

{
int N, a, b, c, d, e;
cout<<"Vvedite chislo N: ";
      cin>> N;
if (N>0)
{
    c=((2*N)*(2*N));

    for (b=1; b<=c; b++)
    {
     for (d=N;d>c;d++)
     {
         d=N*N;
     }

    }
    a=b;
    cout<< "\n Summa = "<< a;
}
else
   {
   cout<< "\n Vvedite polozhitelnoe chislo!";
   }
return 0;
}
